#include <stdio.h>

int is_even(int i_number) {
  return i_number % 2 == 0;
}

int main(int argc, char* argv[]) {
  int i_curr_idx = 1, i_limit = 10;
  while(i_curr_idx <= i_limit) {
    if (is_even(i_curr_idx)) {
	  printf("%d is even.\n", i_curr_idx);
	} else {
	  printf("%d is odd.\n", i_curr_idx);
	}
    i_curr_idx++;
  }
  return 0;
}